PaymentPlugins\WooCommerce\PPCP\Payments\Gateways\AbstractGateway S

Total Complexity 43
Dependencies 14
Dependents 14
Total lines 280
Lines of code 192
Logical lines of code 94
Comment lines 33
Methods 27
Properties 8

Methods 27

Method Rating Maintainability Complexity Lines of code
process_payment()
A
49 9 30
process_refund()
S
50 4 29
payment_fields()
S
58 2 14
init_supports()
S
58 1 19
get_transaction_url()
S
68 2 7
get_billing_token_from_request()
S
76 2 3
render_html_data()
S
70 2 5
add_section_enabled()
S
68 2 7
__construct()
S
60 1 14
get_product_form_fields()
S
82 1 3
get_payment_method_token_instance()
S
73 1 5
express_checkout_fields()
S
91 1 2
product_fields()
S
67 1 7
cart_fields()
S
67 1 7
is_express_section_enabled()
S
80 1 3
is_minicart_section_enabled()
S
80 1 3
init_hooks()
S
74 1 4
is_product_section_enabled()
S
80 1 3
is_cart_section_enabled()
S
80 1 3
is_section_enabled()
S
78 1 3
get_payment_method_data()
S
82 1 3
get_express_checkout_script_handles()
S
82 1 3
get_product_script_handles()
S
82 1 3
get_cart_script_handles()
S
82 1 3
get_checkout_script_handles()
S
82 1 3
get_admin_script_dependencies()
S
82 1 3
is_place_order_button()
S
82 1 3